package cn.com.se.sharepictrue.business;

import com.loopj.android.http.AsyncHttpClient;
import com.loopj.android.http.PersistentCookieStore;

import cn.com.se.sharepictrue.AppContext;

/**
 * Created by KIDNG on 2015/11/27.
 */
public class AsyncHttpHelper {
    private static AsyncHttpClient sClient;
    public static AsyncHttpClient getInstance(){
        if(sClient == null){
            synchronized (AsyncHttpHelper.class){
                if (sClient == null){
                    sClient = new AsyncHttpClient();
                }
            }
        }
        return sClient;
    }

    private AsyncHttpHelper(){}
}
